<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <p v-html="msg"></p>
        <p v-html="msg2"></p>
    </div>

    <script src="../lib/vue.js"></script>

    <script>
        const app = new Vue({
            el: "#app",
            data() {
                return {
                    msg: `
                        <a href="http://www.baidu.com">
                            百度
                        </a>    
                    `,
                    msg2: "<h1>aaa</h1>"
                }
            }
        })
    </script>
</body>
</html>